package com.ruoyi.School.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.domain.BaseEntity;
import java.util.Date;

/**
 * 学区表 xyb_school
 * 
 * @author ruoyi
 * @date 2019-07-16
 */
public class School extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** id */
	private Integer id;
	/** 学区名称 */
	private String schoolName;
	/** 学校地址 */
	private String schoolAddress;
	/** 学校电话 */
	private String tel;
	/** loge */
	private String loge;
	/** 经度 */
	private String schoolJd;
	/** 省 */
	private String province;
	/** 市 */
	private String city;
	/** 区 */
	private String area;
	/** 纬度 */
	private String schoolWd;
	/** 是否有效 1有效 0无效 */
	private Integer valid;
	/** 创建时间 */
	private String creactDate;
	/** 修改时间 */
	private String modifyDate;
	/** 修改人 */
	private String modifyBy;
	
	/** 校区配送费 */
	private Double startFee;
	
	private boolean flag = false;

	public Boolean getFlag() {
		return flag;
	}

	public void setFlag(Boolean flag) {
		this.flag = flag;
	}

	public void setId(Integer id) 
	{
		this.id = id;
	}

	public Integer getId() 
	{
		return id;
	}
	public void setSchoolName(String schoolName) 
	{
		this.schoolName = schoolName;
	}

	public String getSchoolName() 
	{
		return schoolName;
	}
	public void setSchoolAddress(String schoolAddress) 
	{
		this.schoolAddress = schoolAddress;
	}

	public String getSchoolAddress() 
	{
		return schoolAddress;
	}
	public void setTel(String tel) 
	{
		this.tel = tel;
	}

	public String getTel() 
	{
		return tel;
	}
	public void setLoge(String loge) 
	{
		this.loge = loge;
	}

	public String getLoge() 
	{
		return loge;
	}
	public void setSchoolJd(String schoolJd) 
	{
		this.schoolJd = schoolJd;
	}

	public String getSchoolJd() 
	{
		return schoolJd;
	}
	public void setProvince(String province) 
	{
		this.province = province;
	}

	public String getProvince() 
	{
		return province;
	}
	public void setCity(String city) 
	{
		this.city = city;
	}

	public String getCity() 
	{
		return city;
	}
	public void setArea(String area) 
	{
		this.area = area;
	}

	public String getArea() 
	{
		return area;
	}
	public void setSchoolWd(String schoolWd) 
	{
		this.schoolWd = schoolWd;
	}

	public String getSchoolWd() 
	{
		return schoolWd;
	}
	public void setValid(Integer valid) 
	{
		this.valid = valid;
	}

	public Integer getValid() 
	{
		return valid;
	}
	public void setCreactDate(String creactDate) 
	{
		this.creactDate = creactDate;
	}

	public String getCreactDate() 
	{
		return creactDate;
	}
	public void setModifyDate(String modifyDate) 
	{
		this.modifyDate = modifyDate;
	}

	public String getModifyDate() 
	{
		return modifyDate;
	}
	public void setModifyBy(String modifyBy) 
	{
		this.modifyBy = modifyBy;
	}

	public String getModifyBy() 
	{
		return modifyBy;
	}
	
	public void setStartFee(Double startFee) 
	{
		this.startFee = startFee;
	}

	public Double getStartFee() 
	{
		return startFee;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("schoolName", getSchoolName())
            .append("schoolAddress", getSchoolAddress())
            .append("tel", getTel())
            .append("loge", getLoge())
            .append("schoolJd", getSchoolJd())
            .append("province", getProvince())
            .append("city", getCity())
            .append("area", getArea())
            .append("schoolWd", getSchoolWd())
            .append("valid", getValid())
            .append("creactDate", getCreactDate())
            .append("modifyDate", getModifyDate())
            .append("createBy", getCreateBy())
            .append("modifyBy", getModifyBy())
            .append("startFee", getStartFee())
            .toString();
    }
}
